package com.ysd.testValid;

import javax.validation.ConstraintValidator;
import javax.validation.ConstraintValidatorContext;

public class EmailValidator implements ConstraintValidator<ValidRepeat, String> {
    @Override
    public void initialize(ValidRepeat constraintAnnotation) {
    }

    @Override
    public boolean isValid(String value, ConstraintValidatorContext context) {
        String a = "校验能进来";
        return true;
    }
}
